<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>直播列表-发起直播</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="../eleTree/eleTree.css" media="all">
    <link rel="stylesheet" href="../../css/public.css" media="all"/>
</head>
<body class="childrenBody">
<form class="layui-form" style="width:95%; margin: 0 auto;">
    <div class="layui-form-item">
        <label class="layui-form-label">直播标题:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" id="title" placeholder="请输入直播标题" lay-verify="required">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">直播地址:</label>
        <div class="layui-input-inline" style="width: 27%">
            <input type="text" class="layui-input" id="address" placeholder="请输入直播地址" lay-verify="required">
        </div>
        <label class="layui-form-label">直播员:</label>
        <div class="layui-input-inline" style="width: 27%">
            <select name="player" lay-filter="player" id="player" lay-verify="required">
                <option value=""></option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">封面素材:</label>
        <div class="layui-input-block">
            <button type="button" class="layui-btn" id="test1">
                <i class="layui-icon">&#xe67c;</i>上传图片
            </button>
            <div class="layui-upload-list">
                <p id="demoText" lay-verify="pathJudge"></p>
                <img id="demoText2">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">时间段:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input dateTime" id="dateTime" lay-filter="dateTime" lay-verify="required"
                   placeholder="请选择时间段">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="addLive">确认添加</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>

<script type="text/javascript" src="../../js/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="../../js/jquery.cookie.js"></script>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="liveAdd.js"></script>
</body>
</html>